package com.hrsoft.modules.bid.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hrsoft.common.utils.PageUtils;
import com.hrsoft.common.utils.Query;

import com.hrsoft.modules.bid.dao.DepositRefundDao;
import com.hrsoft.modules.bid.entity.DepositRefundEntity;
import com.hrsoft.modules.bid.service.DepositRefundService;


@Service("depositRefundService")
public class DepositRefundServiceImpl extends ServiceImpl<DepositRefundDao, DepositRefundEntity> implements DepositRefundService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<DepositRefundEntity> page = this.page(
                new Query<DepositRefundEntity>().getPage(params),
                new QueryWrapper<DepositRefundEntity>()
        );

        return new PageUtils(page);
    }

}